package com.bookcycle.panda.webfront.controller;

import com.baomidou.kisso.SSOHelper;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Mason
 * @date 2018/3/6
 */
@Controller
public class LogoutController extends BaseController{
    @RequestMapping("/logout")
    public String logout(){
        SSOHelper.clearLogin(request,response);
        return "home";
    }
}
